<#escape x as x?j_string>
	{
		<@stcont.header "store" action success />
		<#if entity??>
			<@stcont.single entity ; entity>
				"id" : ${(entity.id)!0},
				"fancyName" : "${(entity.fancyName)!""}"
			</@stcont.single>
		</#if>
		<#if entities?? || page??>
			<#if page??>
				<#assign entities = page.content />
			</#if>
			<@stcont.multiple entities ; entity>
				"id" : ${entity.id},
				"fancyName" : "${entity.fancyName}"
			</@stcont.multiple>
			<#if page??>
				<@stcont.paging page />
			</#if>
		</#if>
		<#if errors??>
			<@stcont.errors errors />
		</#if>
	}
</#escape>
